import React from 'react';
import { Table } from 'antd';

export default ({ columns, dataSource, ...otherProps }) => (
    <Table
        {...otherProps}
        columns={columns}
        dataSource={dataSource}
        showHeader={false}
        pagination={false}
        tableLayout="fixed"
    />
);
